import request from '@/utils/request';


// 新增大纲
export function addoutline(options) {
  return request({
    url: '/bk/outline',
    method: 'post',
    data:options
  });
}

//获取大纲列表
export function outlineList(id){
  return request({
    url: `/bk/outline/list/${id}`,
    method: 'get'
  });

}


//更新大纲列表

export function upoutLine(options){
  return request({
      url:"/bk/outline",
      method:"put",
      data:options
  })
}



//删除大纲章节

export function delOutline(id){
  return request({
    url:`/bk/outline/${id}`,
    method:"delete"

  })

}
